import request from '@/utils/request'

/* 主要宏观指标管理 */
// 列表查询
const mainMacroIndicatorsList = function (params = {}) {
  return request({
    url: '/zy-api/api/norm/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addMainMacroIndicators = function (params = {}) {
  return request({
    url: '/zy-api/api/norm/insert',
    method: 'post',
    data: params
  })
}

// 修改
const editMainMacroIndicators = function (params = {}) {
  return request({
    url: '/zy-api/api/norm/update',
    method: 'post',
    data: params
  })
}

// 删除
const delMainMacroIndicators = function (params = {}) {
  return request({
    url: '/zy-api/api/norm/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditMainMacroIndicators = function (params = {}) {
  return request({
    url: '/zy-api/api/norm/review',
    method: 'post',
    data: params
  })
}

export {
  mainMacroIndicatorsList,
  addMainMacroIndicators,
  editMainMacroIndicators,
  delMainMacroIndicators,
  auditMainMacroIndicators
}